package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 微信发送模板
 * </p>
 *
 * @author min
 * @since 2023-01-15
 */
@TableName("wechar_template")
public class WecharTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 模板名称
     */
    private String name;

    /**
     * 模板id
     */
    private String templateId;

    /**
     * 模板内容
     */
    private String content;

    /**
     * 例子
     */
    private String caseContent;

    /**
     * 1启用，0停用
     */
    private Integer status;

    /**
     * 类型：1：到校提醒，2：离校提醒，3：上课提醒，4：课时消耗
     */
    private Integer type;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCaseContent() {
        return caseContent;
    }

    public void setCaseContent(String caseContent) {
        this.caseContent = caseContent;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "WecharTemplate{" +
        "id = " + id +
        ", name = " + name +
        ", templateId = " + templateId +
        ", content = " + content +
        ", caseContent = " + caseContent +
        ", status = " + status +
        ", type = " + type +
        ", createdAt = " + createdAt +
        "}";
    }
}
